{{ include('doctype.twig') }}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Cabinet Manager - Gestion des cabinets</title>
	{{ include('common-meta.twig') }}
	{{ include('common-css.twig') }}
	<!-- dashboard -->
	<link rel="stylesheet" href="bootstrap/css/uniform.css" />
	<link rel="stylesheet" href="bootstrap/css/select2.css" />		
	<link rel="stylesheet" href="bootstrap/css/unicorn.main.css" />
	<link rel="stylesheet" href="bootstrap/css/unicorn.grey.css" class="skin-color" />
</head>
	<body>
		{{ include('topbar.twig') }}
		{{ include('searchbox.twig') }}
		{{ include('navbar.twig') }}
		{{ include('sidebar.twig') }}
		<!-- {{ include('style-switcher.twig') }} -->
		
		<div id="content">
			
			{{ include('includes/content-header.twig') }}
			{{ include('includes/breadcrumb.twig') }}
			
			<div class="container-fluid">

			<div class="widget-box">
				<div class="widget-title">
                    <span class="icon">
					    <input type="checkbox" id="title-checkbox" name="title-checkbox" />
					</span>
					<h5>Liste des cabinets</h5>

				</div>
				<div class="widget-content nopadding">
					<table class="table table-bordered data-table">
						<thead>
							<tr>
								<th></th>
                                {% for column in columns %}
									<th>{{ column }}</th>
								{% endfor %}
                            <th></th>
							</tr>
						</thead>
						<tbody>
							{% for row in rows %}
								<tr>
									<td><input type="checkbox" name="items[]" /></td>
								{% for column in columns %}
									<td>{{ row[column] }}</td>
								{% endfor %}
                                <td>
                                    <a href="forms.php?table={{ tableName }}&action=update&p={{ row['id'] }}" title="Modifier"><i class="icon-edit"></i></a>
                                <a href="?action=delete&p={{ row['id'] }}" title="Modifier"> <i class="icon-remove"></i></a>

                                </td>
								</tr>
							{% endfor %}
						</tbody>
					</table>
				</div>
			</div>

		</div>
		</div>
		
{{ include('footer.twig') }}